<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="renderer" content="webkit">
		<link href="../../css/bootstrap.min.css" rel="stylesheet">
		<link rel="stylesheet" href="../../js/jquery-easyui-1.4.4/themes/bootstrap/easyui.css">
		<link rel="stylesheet" href="../../js/jquery-easyui-1.4.4/themes/icon.css">
		<link rel="stylesheet" href="../../css/ext_icon.css">
		<script src="../../js/jquery-easyui-1.4.4/jquery.min.js"></script>
		<script src="../../js/bootstrap.min.js"></script>
		<script src="../../js/jquery-easyui-1.4.4/jquery.easyui.min.js"></script>
		<script src="../../js/jquery-easyui-1.4.4/locale/easyui-lang-zh_CN.js"></script>
		<script src="../../js/ext_jquery.js"></script>
		<script src="../../js/ext_easyui.js"></script>
		<script src="../../js/jquery.form.js"></script>
		<script src="../../js/My97DatePicker/WdatePicker.js"></script>
		<script src="../../js/Chart.min.js"></script>
		<script src="../../js/util.js"></script>
		<script src="../../js/ckeditor/ckeditor.js"></script>
		<link rel="stylesheet" href="../../css/style.css">
		<script src="../../js/main.js"></script>
		<title></title>
		<style>
			#tagTable th {
				text-align: left;
				background-color: #FFF;
			}
			
			#tagTable img {
				cursor: pointer;
			}
		</style>
		<style media=print type="text/css">
			.noprint {
				visibility: hidden;
			}
		</style>
	</head>

	<body>
		<script>
			function once(id) {
				var url = "html/menu/4-1once.html";
				openTabs(url, '产品明细：' + id, 2);
			}
			var HKEY_Root, HKEY_Path, HKEY_Key;
			HKEY_Root = "HKEY_CURRENT_USER";
			HKEY_Path = "\\Software\\Microsoft\\Internet Explorer\\PageSetup\\";
			//设置网页打印的页眉页脚为空 
			function PageSetup_Null() {
				try {
					var Wsh = new ActiveXObject("WScript.Shell");
					HKEY_Key = "header";
					Wsh.RegWrite(HKEY_Root + HKEY_Path + HKEY_Key, "");
					HKEY_Key = "footer";
					Wsh.RegWrite(HKEY_Root + HKEY_Path + HKEY_Key, "");
				} catch (e) {}
			}

			function submitForm() {
//				PageSetup_Null();
				window.print();
				return false;
			}
		</script>
		<div id="ddd" class="form-table" style="width: 90%;">
			<table class="table table-bordered table-condensed">
				<tr>
					<th width="20%">订单号：</th>
					<td width="30%">32889484</td>
					<th width="20%">订单状态：</th>
					<td width="30%">正在发货</td>
				</tr>
				<tr>
					<th>客户姓名：</th>
					<td>法警带俄</td>
					<th>客户手机：</th>
					<td>134323324</td>
				</tr>
				<tr>
					<th>订单金额：</th>
					<td>340.00</td>
					<th>下单时间：</th>
					<td>2016-05-19 14:14:32</td>
				</tr>
				<tr>
					<th>收件人姓名：</th>
					<td>就算带啊诶</td>
					<th>收件人手机：</th>
					<td>139895545</td>
				</tr>
				<tr>
					<th>收件人地：</th>
					<td colspan="3">广东顺德</td>
				</tr>
			</table>
			<br>
			<table id="tagTable" class="table table-bordered table-condensed">
				<tr>
					<th colspan="5">订单内产品：</th>
				</tr>
				<tr>
					<td width="20%">产品编号</td>
					<td width="25%">产品名称</td>
					<td width="20%">产品销售单价</td>
					<td width="20%">产品数</td>
					<td width="15%">操作</td>
				</tr>
				<tr>
					<td>1234114</td>
					<td>aa灯</td>
					<td>120.00</td>
					<td>1件</td>
					<td><img onclick="once('1234114');" src="../../images/ext_icons/shield.png" title="明细"></td>
				</tr>
				<tr>
					<td>243225</td>
					<td>ab灯</td>
					<td>220.00</td>
					<td>1件</td>
					<td><img onclick="once('243225');" src="../../images/ext_icons/shield.png" title="明细"></td>
				</tr>
			</table>
		</div>
		<div class="noprint" style="text-align: center;padding-bottom: 10px;">
			<a href="javascript:void(0);" class="btn btn-primary" role="button" onclick="submitForm()">打&nbsp;&nbsp;&nbsp;&nbsp;印</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="javascript:void(0);" class="btn btn-primary" role="button" onclick="removeTabs()">返&nbsp;&nbsp;&nbsp;&nbsp;回</a>
		</div>
	</body>

</html>